﻿@{
    ViewBag.Title = "CreateArticle";
    Layout = "~/Views/Shared/BusinesstodayLayout/_1Col.cshtml";
}
<div id ="content">    
    @using (Html.BeginForm("SaveArticle", "Article", FormMethod.Post, new { id = "myform" }))
    {
        <br />
        <h1>Tạo bài viết mới</h1>
        <div style="margin-bottom:20px;">
            <span style="padding-right:5px;margin-bottom:5px;">Tiêu đề: </span>
            <input type="text" class="mytextbox" name="title" style="width:300px; height:23px;"/>
        </div>    
        <div style="margin-bottom:20px;">
            <span style="padding-right:5px; margin-bottom:5px;">Nội dung chính: </span><br /><br />
            <textarea id="editor" name="content" style="width:100%; height:500px;"></textarea> 
        </div>
        <div style="margin-bottom:20px;">
            <span style="padding-right:5px; margin-bottom:5px;">Thư mục: </span>
            <select name = "catagory">
                <option value="1">Chưa phân loại</option>
             </select>
             <div style="float:right;">
                <input type="submit" class="mybutton2" value="Tạo mới" />
            </div>
        </div>
        
    }
    <script src="@Url.Content("~/Include/tiny_mce/tiny_mce.js")" type="text/javascript"></script> 
    <script type="text/javascript">
        tinyMCE.init({
            mode: "exact",
            theme: "advanced"          
        });
        tinyMCE.execCommand("mceAddControl", false, "editor"); 
    </script>
</div>
<div id ="column">
    <div class="subnav">
        <h2>Quản trị</h2>
        <ul>
          <li><a href="#">Tạo bài viết mới</a></li>
          <li><a href="#">Chỉnh sửa</a></li>
          <li><a href="#">Xóa bài viết</a></li>
          <li><a href="#">Thống kê</a></li>  
        </ul>
    </div>
    <div class="subnav">
        <h2>Phân loại thư mục</h2>
        <ul>
          <li><a href="#">Hoạt động</a></li>
          <li><a href="#">Chính trị</a>        
        </ul>
    </div>
    <div class="box-item">
	    <div class="fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-topleft.gif" alt=""></div>  
		    <div class="box-title1 fl"><a href="/Rao-vat/" class="link-folder">Xem nhiều nhất</a></div>                             
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-topright.gif" alt=""></div>                            
	    </div>	
	    	
	    <div class="box-middle1 list-item4 fl">
            <ul>
                <li>
                    <a href="#" style="background-color: transparent;">Lung tung quá</a>
                </li>
            </ul>
        </div>
	    <div class="folder-bottom listitem-bottom fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-bottomleft.gif" alt=""></div>
		    <div class="listitem-bottomcenter fl">&nbsp;</div>
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-bottomright.gif" alt=""></div>
	    </div>
    </div>
    <div class="box-item">
	    <div class="fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-topleft.gif" alt=""></div>  
		    <div class="box-title1 fl"><a href="/gl/home/anh/" class="link-folder">Ảnh</a></div>                             
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-topright.gif" alt=""></div>                            
	    </div>                        
	    <div id="tdHomeFolder400" class="fl">                           
		    <div class="box-middle1 folder-photo fl">
			    <p><a class="link-title" style="background-color: transparent;" href="#">Khu vườn đứng lớn nhất thế giới</a></p>
                <p>
                    <a href="/gl/the-gioi/anh/2012/09/khu-vuon-dung-lon-nhat-the-gioi/">
                    <img src="/Files/Subject/3b/bd/c5/f7/verical-garden.jpg" alt="">
                    </a>
                </p>
		    </div>		
	    </div>
	    <div class="folder-bottom listitem-bottom fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-bottomleft.gif" alt=""></div>
		    <div class="listitem-bottomcenter fl">&nbsp;</div>
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-bottomright.gif" alt=""></div>
	    </div>
    </div>
    <div class="box-item">
	    <div class="fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-topleft.gif" alt=""></div>  
		    <div class="box-title1 fl"><a href="/gl/home/anh/" class="link-folder">Video</a></div>                             
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-topright.gif" alt=""></div>                            
	    </div>                        
	    <div id="tdHomeFolder400" class="fl">                           
		    <div class="box-middle1 folder-photo fl">
			    <p><a class="link-title" style="background-color: transparent;" href="#">Khu vườn đứng lớn nhất thế giới</a></p>
                <p>
                    <a href="/gl/the-gioi/anh/2012/09/khu-vuon-dung-lon-nhat-the-gioi/">
                    <img src="/Files/Subject/3b/bd/c5/f7/verical-garden.jpg" alt="">
                    </a>
                </p>
		    </div>		
	    </div>
	    <div class="folder-bottom listitem-bottom fl">
		    <div class="fl"><img src="../../Content/themes/Businesstoday/images/folder-bottomleft.gif" alt=""></div>
		    <div class="listitem-bottomcenter fl">&nbsp;</div>
		    <div class="fr"><img src="../../Content/themes/Businesstoday/images/folder-bottomright.gif" alt=""></div>
	    </div>
    </div>
    
    
</div>
